<?PHP exit('QQ:179667784');?>
<!--{template common/header}-->
	
<!--{if $_G['inajax'] == 1}-->
	<!--{eval require_once(DISCUZ_ROOT."./template/qu_app/touch/ainuo/post.php");}-->
    <!--{eval require_once(DISCUZ_ROOT."./template/qu_app/touch/ainuo/select.php");}-->
	<!--{if in_array($_G['fid'], $ainuo_ary_newslist)}-->
        <!--{template html/news_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_quanlist)}-->
        <!--{template html/quan_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_tuwenlist)}-->
        <!--{template html/tuwen_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_qqzonelist)}-->
        <!--{template html/qqzone_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_weibolist)}-->
        <!--{template html/weibo_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_bigpiclist)}-->
        <!--{template html/bigpic_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_pbllist)}-->
        <!--{template html/pbl_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_videolist)}-->
        <!--{template html/video_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_musiclist)}-->
        <!--{template html/music_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_tradelist)}-->
        <!--{template html/trade_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_polllist)}-->
        <!--{template html/poll_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_activitylist)}-->
        <!--{template html/activity_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_debatelist)}-->
        <!--{template html/debate_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_rewardlist)}-->
        <!--{template html/reward_list}-->
    <!--{elseif in_array($_G['fid'], $ainuo_ary_zhinenglist)}-->
        <!--{template html/zhineng_list}-->
    <!--{elseif $_G['forum']['sortmode']}-->
        $sorttemplate['body']
    <!--{else}-->
        <!--{template html/word_list}-->
    <!--{/if}-->
<!--{else}-->

<!--{if $_G['forum']['sortmode']}-->
<link href="template/qu_app/touch/style/css/sort.css?{VERHASH}" rel="stylesheet"/>
<!--{/if}-->

<!--{eval require_once(DISCUZ_ROOT."./template/qu_app/touch/ainuo/select.php");}-->
<!--{if in_array($_G['fid'], $ainuo_ary_newslist)}-->
	<!--{subtemplate html/news}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_quanlist)}-->
	<!--{subtemplate html/quan}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_tuwenlist)}-->
	<!--{subtemplate html/tuwen}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_qqzonelist)}-->
	<!--{subtemplate html/qqzone}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_weibolist)}-->
	<!--{subtemplate html/weibo}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_bigpiclist)}-->
	<!--{subtemplate html/bigpic}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_pbllist)}-->
	<!--{subtemplate html/pbl}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_videolist)}-->
	<!--{subtemplate html/video}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_musiclist)}-->
	<!--{subtemplate html/music}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_tradelist)}-->
	<!--{subtemplate html/trade}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_polllist)}-->
	<!--{subtemplate html/poll}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_activitylist)}-->
	<!--{subtemplate html/activity}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_debatelist)}-->
	<!--{subtemplate html/debate}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_rewardlist)}-->
	<!--{subtemplate html/reward}-->
<!--{elseif in_array($_G['fid'], $ainuo_ary_zhinenglist)}-->
	<!--{subtemplate html/zhineng}-->
<!--{else}-->
	<!--{subtemplate html/word}-->
<!--{/if}-->
<!--{hook/forumdisplay_bottom_mobile}-->

<script type="text/javascript">
	$('.afa_fav').on('click', function() {
		<!--{if !$_G[uid]}-->
			<!--{if $Appbyme && $_G['cache']['plugin']['qu_app']['app_login']}-->
				sq.login(function(userInfo){});
				return false;
			<!--{else}-->
				popup.open('{lang nologin_tip}', 'confirm', 'member.php?mod=logging&action=login');
				return false;
			<!--{/if}-->
		<!--{/if}-->
		$('body').append('<div class="ainuooverlay"><div class="loadings_icon"><i class="toast-loading toast-icon_toast"></i></div></div>');
		var obj = $(this);
		$.ajax({
			type:'POST',
			url:obj.attr('ainuoto') + '&handlekey=favbtn&inajax=1',
			data:{'favoritesubmit':'true', 'formhash':'{FORMHASH}'},
			dataType:'xml',
		})
		.success(function(s) {
			if(s.lastChild.firstChild.nodeValue.indexOf("$alang_haveshoucang") >= 0){
				$('.ainuooverlay').remove();
				showMessage('$alang_haveshoucang2');
			}else if(s.lastChild.firstChild.nodeValue.indexOf("$alang_havescsucccess") >= 0){
				document.getElementById("a_favorite").innerHTML = '$alang_yiguanzhu';
				$('.ainuooverlay').remove();
				showMessage('$alang_guanzhusuc');
			}
		})
		.error(function() {
			window.location.href = obj.attr('href');
			$('.ainuooverlay').remove();
		});
		return false;
	});
</script>

<script>
	var ainuo_forum_html = '';
	var ainuo_forum_empty = '<div class="inner">$alang_nomore</div>';
	var ainuo_forum_emptyfail = '<div class="inner">$alang_loadfail</div>';				
	var ainuo_forum_loading = false;
	var ainuo_forum_aperpage = '$_G[tpp]';
	var ainuo_forum_ainuomaxpage = $maxpage;
	var ainuo_forum_url = 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$_GET[filter]}&typeid={$_GET[typeid]}&orderby={$_GET[orderby]}&page=';
</script>
{if $pagestyle == 1}
<script src="template/qu_app/touch/style/load/loadlist.js"></script>
{/if}
<script>
$(document).on("click", "#show-actions", function() {
$.actions({
  title: "$alang_select",
  onClose: function() {
	console.log("close");
  },
  actions: [
  <!--{if !$_G['forum']['allowspecialonly']}-->
	{
	  text: "{lang post_newthread}",
	  className: "color-primary",
	  onClick: function() {
		location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';
	  }
	},
  <!--{/if}-->
	<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
		<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
			<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
			{
			  text: "$threadsorts",
			  className: "color-primary",
			  onClick: function() {
				location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id';
			  }
			},
				
			<!--{/if}-->
		<!--{/loop}-->
	<!--{/if}-->
	<!--{if $_G['group']['allowpostpoll']}-->
		{
		  text: "{lang post_newthreadpoll}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1';
		  }
		},
		
	<!--{/if}-->
	<!--{if $_G['group']['allowpostreward']}-->
		{
		  text: "{lang post_newthreadreward}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3';
		  }
		},
	<!--{/if}-->
	<!--{if $_G['group']['allowpostdebate']}-->
		{
		  text: "{lang post_newthreaddebate}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5';
		  }
		},
	<!--{/if}-->
	<!--{if $_G['group']['allowpostactivity']}-->
		{
		  text: "{lang post_newthreadactivity}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4';
		  }
		},
	<!--{/if}-->
	<!--{if $_G['group']['allowposttrade']}-->
		{
		  text: "{lang post_newthreadtrade}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2';
		  }
		},
	<!--{/if}-->
<!--{if $_G['setting']['threadplugins']}-->
	<!--{loop $_G['forum']['threadplugin'] $tpid}-->
		<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
		{
		  text: "{$_G[setting][threadplugins][$tpid][name]}",
		  className: "color-primary",
		  onClick: function() {
			location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid';
		  }
		},
		<!--{/if}-->
	<!--{/loop}-->
<!--{/if}-->
	
  ]
});
});
</script>
<link href="template/qu_app/touch/style/weui/weui.min.css?{VERHASH}" rel="stylesheet"/>
<link href="template/qu_app/touch/style/weui/jquery-weui.css?{VERHASH}" rel="stylesheet"/>
<script src="template/qu_app/touch/style/weui/jquery-weui.min.js"></script>
<!--{/if}-->

<!--{template common/footer}-->
